MSFT_SmbMapping class
Represents an SMB mapping.
The following syntax is simplified from MOF code and includes all inherited properties.
Syntax
[dynamic, provider("smbwmiv2"), ClassVersion("7")]
class MSFT_SmbMapping
{
string LocalPath;
string RemotePath;
uint32 Status;
};
Members
The MSFT_SmbMapping class has these types of members:
Methods
The MSFT_SmbMapping class has these methods.
Method | Description |
---|---|
Create | Creates an SMB mapping. |
Remove | Removes an SMB mapping. |
Properties
The MSFT_SmbMapping class has these properties.
-
LocalPath
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: key
The local path for the shared resource.
-
-
RemotePath
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: key
The remote path for the shared resource.
-
-
Status
-
-
Data type: uint32
-
Access type: Read-only
Status of the SMB mapping.
-
-
OK (0)
-
Paused (1)
-
Disconnected (2)
-
NetworkError (3)
-
Connecting (4)
-
Reconnecting (5)
-
Unavailable (6)
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Smb |
MOF |
|
DLL |
|