MSFT_SmbMapping class
Represents an SMB mapping.
The following syntax is simplified from MOF code and includes all inherited properties.
Syntax
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 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Namespace |
\ROOT\Microsoft\Windows\Smb |
|
MOF |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 11/5/2012