Win32_ClusterShare, ROOT\CIMV2

Class | Methods (4) | Properties (11) | Qualifiers (9) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_ClusterShare class represents a shared resource on a cluster.

Win32_ClusterShare methods

Win32_ClusterShare has 4 methods (4 Derived)

NameOriginReturn
CreateWin32_Shareuint32 {'out':True}
DeleteWin32_Shareuint32 {'out':True}
GetAccessMaskWin32_Shareuint32 {'out':True}
SetShareInfoWin32_Shareuint32 {'out':True}

Win32_ClusterShare properties

Win32_ClusterShare has 11 properties (1 Local, 10 Derived)

NameOriginCIMType
AccessMaskWin32_Share19 [uint32]
AllowMaximumWin32_Share11 [boolean]
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
MaximumAllowedWin32_Share19 [uint32]
key
Name
CIM_ManagedSystemElement8 [string]
PathWin32_Share8 [string]
ServerNameWin32_ClusterShare8 [string]
StatusCIM_ManagedSystemElement8 [string]
TypeWin32_Share19 [uint32]

Detailed description of Win32_ClusterShare methods

Derived methods (4) of Win32_ClusterShare class

Create method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_502|shi502_path']}
Namestring1-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_1|shi1_netname']}
Typeuint322-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_502|shi502_type']}
MaximumAlloweduint323-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_502|shi502_max_uses'],'Optional':True}
Descriptionstring4-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_1|shi1_remark'],'Optional':True}
Passwordstring5-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_502|shi502_passwd'],'Optional':True}
Accessobject:Win32_SecurityDescriptor6-{'In':True,'MappingStrings':['WMI|Win32_SecurityDescriptor'],'Optional':True}
ConstructorTrue
ImplementedTrue
MappingStrings['Win32API|Network Management Functions|NetShareAdd']
StaticTrue
Create method is in 11 classes of ROOT\cimv2 and in 14 namespaces
Delete method
Returnuint32 {'out':True}
DestructorTrue
ImplementedTrue
MappingStrings['Win32API|Network Management Functions|NetShareDel']
Delete method is in 16 classes of ROOT\cimv2 and in 11 namespaces
GetAccessMask method
Returnuint32 {'out':True}
ImplementedTrue
MappingStrings['Win32API|Access Control Functions|GetEffectiveRightsFromAcl']
GetAccessMask method is in 2 classes of ROOT\cimv2 and in 1 namespace
SetShareInfo method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
MaximumAlloweduint320-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_502|shi502_max_uses'],'Optional':True}
Descriptionstring1-{'In':True,'MappingStrings':['Win32API|Network Management Structures|SHARE_INFO_1|shi1_remark'],'Optional':True}
Accessobject:Win32_SecurityDescriptor2-{'In':True,'MappingStrings':['WMI|Win32_SecurityDescriptor'],'Optional':True}
ImplementedTrue
MappingStrings['Win32API|Network Management Functions|NetShareSetInfo']
SetShareInfo method is in 2 classes of ROOT\cimv2 and in 1 namespace

Detailed description of Win32_ClusterShare properties

Local properties (1) of Win32_ClusterShare class

ServerName property
CIMTYPE'string'
Description'The ServerName property indicates the cluster server on which the share is hosted '
MappingStrings['Win32API|Network Management Structures|SHARE_INFO_503|shi503_servername']
Override'ServerName'
readTrue
ServerName property is in 10 classes of ROOT\cimv2 and in 23 namespaces

Derived properties (10) of Win32_ClusterShare class

AccessMask property
CIMTYPE'uint32'
DEPRECATEDTrue
Description'This property has been deprecated in favour of the GetAccessMask method of this class due to the expense of calling GetEffectiveRightsFromAcl. The value will be set to NULL'
readTrue
AccessMask property is in 17 classes of ROOT\cimv2 and in 142 namespaces
AllowMaximum property
CIMTYPE'boolean'
Description'The AllowMaximum property indicates whether the number of concurrent users for this resource has been limited.
Values: TRUE or FALSE. A value of TRUE indicates the number of concurrent users of this resource has not been limited and the value in the MaximumAllowed property is ignored.'
MappingStrings['Win32API|Network Management Structures|SHARE_INFO_502|shi502_max_uses']
readTrue
AllowMaximum property is in 2 classes of ROOT\cimv2 and in 2 namespaces
Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
MaximumAllowed property
CIMTYPE'uint32'
Description'The MaximumAllowed property indicates the limit on the maximum number of users allowed to use this resource concurrently. The value is only valid if the AllowMaximum member set to FALSE
Example: 10.'
MappingStrings['Win32API|Network Management Structures|SHARE_INFO_502|shi502_max_uses']
readTrue
MaximumAllowed property is in 2 classes of ROOT\cimv2 and in 2 namespaces
Name property
CIMTYPE'string'
Description'The Name property indicates the alias given to a path set up as a share on a Win32 system.
Example: public.'
keyTrue
MappingStrings['Win32API|Network Management Structures|SHARE_INFO_1|shi1_netname']
Override'Name'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
Path property
CIMTYPE'string'
Description'The Path property indicates the local path of the Win32 share.
Example: C:\Program Files'
MappingStrings['Win32API|Network Management Structures|SHARE_INFO_502|shi502_path']
readTrue
Path property is in 14 classes of ROOT\cimv2 and in 30 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces
Type property
CIMTYPE'uint32'
Description'The Type property specifies the type of resource being shared. Types include disk drives, print queues, interprocess communications (IPC), and general devices.'
MappingStrings['Win32API|Network Management Structures|SHARE_INFO_502|shi502_type']
readTrue
ValueMap['0', '1', '2', '3', '2147483648', '2147483649', '2147483650', '2147483651']
Values['Disk Drive', 'Print Queue', 'Device', 'IPC', 'Disk Drive Admin', 'Print Queue Admin', 'Device Admin', 'IPC Admin']
Type property is in 19 classes of ROOT\cimv2 and in 142 namespaces

Win32_ClusterShare Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
CreateBy'Create'
DeleteBy'DeleteInstance'
Description'The Win32_ClusterShare class represents a shared resource on a cluster.'
dynamicTrue
Locale1033
provider'CIMWin32'
SupportsCreateTrue
SupportsDeleteTrue
UUID'{8502C4D6-5FBB-11D2-AAC1-006008C78BC7}'

Win32_ClusterShare System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_ClusterShare'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_Share', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT11___SYSTEM3
__RELPATH'Win32_ClusterShare'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_Share'___SYSTEM8
__CLASS'Win32_ClusterShare'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_ClusterShare

Number of classes:14
comments powered by Disqus
WUtils.com