Shares Attribute Class

This class, which represents a shared directory on a Win32 system, is based on Win32_Share. This class is not included in a default hardware inventory operation.

Table C.51 Shares Attribute Class (SMS_G_System_SHARE)

Property
(Bold if collected)
Data
type

Example

Notes
AllowMaximumuint321Determines whether to ignore the value of the MaximumAllowed property.

Values are:
1=True
0=False

If the value is True, the MaximumAllowed value is ignored, and the number of concurrent users is limited only by restrictions placed by the system itself.

Captionstring"Remote IPC"Describes the object. Maximum length is 64 characters.
Descriptionstring"Remote IPC"Describes the object.
GroupIDuint322Within one ResourceId (one SMS client), GroupID distinguishes one instance of a class from another. Objects with the same ResourceId and GroupID are “deltas” of one another, describing the same hardware inventory instance at different points in time. This is not a collectable property.
InstallDatedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates when the object was installed. The absence of a value does not indicate that the object is not installed.
MaximumAlloweduint32 Specifies the maximum number of users allowed to use this resource concurrently.
Namestring"IPC$"Key. Indicates the name of the Win32 share. Maximum length is 256 characters.
Pathstring"\\windows\\
system\\"
Key. Indicates the local path of the Win32 share including leading and trailing backslashes.
ResourceIduint3242Key. Inventory items with the same ResourceId were all discovered on the same SMS client. The ResourceId identifies the SMS client.

A ResourceId is an integer generated for the sake of SQL; it is not unique outside the site and should be used only for short-term querying purposes. It is not a collectable property.

RevisionIDuint321Objects with the same ResourceId and GroupID are deltas, differentiated from one another by RevisionID number. The highest number is the most recent update. This is not a collectable property.
Statusstring"OK"Indicates the current status of the object.

Values are:
OK
Error
Degraded
Unknown

Maximum length is 10 characters.

TimeStampdatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates when the information in this object was last revised. This is not a collectable property.
Typeuint320Specifies the type of resource being shared.

Values are:
0= DiskTree
1=PrintQ
2=Device
3=Ipc
2147483648= DiskTreeAdmin
2147483649=PrintQAdmin
2147483650=DeviceAdmin
2147483651=IpcAdmin