Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Starts the Microsoft storage service partial discovery process.
Syntax
Uint32 PartialDiscovery(
[in] String host,
[in, optional] String hostType,
[in] String interopNamespace,
[in] String username,
[in] String password,
[in, optional] Uint32 discoveryLevel,
[in] Uint32 partialDiscoveryType,
[in, optional] String targetObjectId,
[in] Uint32 targetObjectClassType,
[out] MSFT_SMJob REF Job,
[out, optional] MSFT_SMExtendedStatus ExtendedStatus
);
Parameters
-
host [in]
-
The name of the host to discover.
-
hostType [in, optional]
-
The type of the host to discover.
The possible values are.
-
host-resource ("host-resource")
-
smis-wmi ("smis-wmi")
-
smis-cimxml ("smis-cimxml")
interopNamespace [in]
The interoperation namespace used for the discovery process.
username [in]
The username used to authenticate with the SMI-S provider. If not provided, the storage service attempts to obtain these credentials from the configuration provider.
password [in]
The password used to authenticate with the SMI-S provider. If not provided, the storage service attempts to obtain these credentials from the configuration provider.
discoveryLevel [in, optional]
The depth of discovery.
The possible values are.
Top-Level (0)
Mid-Level (1)
AllExceptDiskDrives (2)
All (3)
partialDiscoveryType [in]
The type of search that will be performed during the operation.
The possible values are.
Full (0)
MSFT_SMSystem (1)
MSFT_SMStorageHardwareID (2)
MSFT_SMPool (3)
MSFT_SMVolume (4)
MSFT_SMEndpoint (5)
MSFT_SMiSCSIPortalEndpoint (6)
MSFT_SMStorageGroup (7)
MSFT_SMFCPort (8)
MSFT_SMFabric (9)
MSFT_SMSwitch (10)
MSFT_SMZoneSet (11)
MSFT_SMZone (12)
MSFT_SMZoneMembershipData (13)
MSFT_SMDiskDrive (14)
MSFT_SMProvider (15)
MSFT_SMPoolSetting (16)
targetObjectId [in, optional]
The ID of the object in which to run the discovery process.
targetObjectClassType [in]
The class type of the targetObjectId object.
The possible values are.
Unspecified (0)
MSFT_SMSystem (1)
MSFT_SMStorageHardwareID (2)
MSFT_SMPool (3)
MSFT_SMVolume (4)
MSFT_SMEndpoint (5)
MSFT_SMiSCSIPortalEndpoint (6)
MSFT_SMStorageGroup (7)
MSFT_SMFCPort (8)
MSFT_SMFabric (9)
MSFT_SMSwitch (10)
MSFT_SMZoneSet (11)
MSFT_SMZone (12)
MSFT_SMZoneMembershipData (13)
MSFT_SMDiskDrive (14)
MSFT_SMProvider (15)
MSFT_SMPoolSetting (16)
Job [out]
A reference to the MSFT_SMJob instance. May be NULL if the job is completed.
ExtendedStatus [out, optional]
An MSFT_SMExtendedStatus object that contains the results of this method call.
Return value
-
Success
-
0
-
Failed
-
1
-
Discovery already in progress
-
2
-
Job started
-
4096
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Storage\SM |
MOF |
|
DLL |
|