MSFT_StorageProvider class

Represents a storage management provider (SMP) package that manages a storage subsystem.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

class MSFT_StorageProvider : MSFT_StorageObject
{
  UInt16  Type;
  String  Name;
  String  Manufacturer;
  String  Version;
  String  CimServerName;
  String  URI;
  String  URI_IP;
  UInt16  RemoteSubsystemCacheMode;
  Boolean SupportsSubsystemRegistration;
  UInt16  SupportedRemoteSubsystemCacheModes;
};

Members

The MSFT_StorageProvider class has these types of members:

Methods

The MSFT_StorageProvider class has these methods.

Method Description
Discover Discovers the objects that are owned by the storage provider.
GetSecurityDescriptor Retrieves the security descriptor that controls access to the storage provider object instance.
RegisterSubsystem Registers a subsystem to be managed by this provider.
SetAttributes Sets the attributes of the provider.
SetSecurityDescriptor Sets the security descriptor that controls access to the storage provider object instance.
UnregisterSubsystem Unregisters a subsystem.

Properties

The MSFT_StorageProvider class has these properties.

CimServerName

Data type: String

Access type: Read-only

If the Type property is SMI-S, this property contains the name of the CIM Server to be displayed in the user interface. For example, "ACME CIM Server". This property is required to support the SLP discovery mechanism.

If the Type property is not SMI-S, this property is NULL.

Manufacturer

Data type: String

Access type: Read-only

Qualifiers: Required

The name of the manufacturer of the SMP software.

Name

Data type: String

Access type: Read-only

Qualifiers: Required

A user-friendly name for the storage provider.

RemoteSubsystemCacheMode

Data type: UInt16

Access type: Read-only

The caching mode of this provider.

Value Meaning
0 Unknown
2 Disabled
3 Manual-Discovery

SupportedRemoteSubsystemCacheModes

Data type: UInt16

Access type: Read-only

The caching modes that this provider supports.

Value Meaning
0 Unknown
2 Disabled
3 Manual-Discovery

SupportsSubsystemRegistration

Data type: Boolean

Access type: Read-only

TRUE if this provider supports remote registration and management; FALSE if it does not.

Type

Data type: UInt16

Access type: Read-only

Qualifiers: Required

Indicates whether the provider is implemented using SMI-S standard interfaces or SMP WMI interfaces.

Value Meaning
SMP 1 The provider is a native SMP-based provider.
SMI-S 2 The provider is an SMI-S-based provider that is visible through the SMI-S proxy storage management provider.

URI

Data type: String

Access type: Read-only

If the Type property is SMI-S, this property contains the protocol, host name, and port that connect to an SMI-S server.

If the Type property is not SMI-S, this property is NULL.

URI_IP

Data type: String

Access type: Read-only

If the Type property is SMI-S, this property contains the protocol, IP address, and port that connect to an SMI-S server. This pro

If the Type property is not SMI-S, this property is NULL.

Version

Data type: String

Access type: Read-only

Qualifiers: Required

A free-form version string used by the SMP manufacturer to differentiate between software versions.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof