- WMI Library -
WMI Libraly > Win32_ClusterShare Class

Win32_ClusterShare Class

The Win32_ClusterShare class represents a shared resource on a cluster.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.


Properties

  • AccessMask
  • 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

  • AllowMaximum
  • 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.

  • Caption
  • The Caption property is a short textual description (one-line string) of the object.

  • Description
  • The Description property provides a textual description of the object.

  • InstallDate
  • 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.

  • MaximumAllowed
  • 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.

  • Name
  • The Name property indicates the alias given to a path set up as a share on a Win32 system.
    Example: public.

  • Path
  • The Path property indicates the local path of the Win32 share.
    Example: C:\Program Files

  • ServerName
  • The ServerName property indicates the cluster server on which the share is hosted

  • Status
  • 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.

  • Type
  • The Type property specifies the type of resource being shared. Types include disk drives, print queues, interprocess communications (IPC), and general devices.


    Methods

  • Create
  • Not applicable.

  • SetShareInfo
  • Not applicable.

  • GetAccessMask
  • Not applicable.

  • Delete
  • Not applicable.


    Example WQL

    SELECT * FROM Win32_ClusterShare
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...