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.
Creates an SMB mapping.
Syntax
uint32 Create(
[in] string LocalPath,
[in] string RemotePath,
[in] string UserName,
[in] string Password,
[in] boolean Persistent,
[in] boolean SaveCredentials,
[in] boolean HomeFolder,
[out] MSFT_SmbMapping CreatedMapping
);
Parameters
-
LocalPath [in]
-
The local path for the shared resource. This parameter is optional.
-
RemotePath [in]
-
The remote path for the shared resource.
-
UserName [in]
-
The user name. This parameter is optional.
-
Password [in]
-
The password associated with the user name.
-
Persistent [in]
-
Controls whether the mapping will survive computer restarts.
-
SaveCredentials [in]
-
Determines whether or not credentials are saved and used when a mapping is created against the same server.
-
HomeFolder [in]
-
Controls whether the connection will be made to the user s home folder.
-
CreatedMapping [out]
-
An instance of the MSFT_SmbMapping class that represents the mapping.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Smb |
MOF |
|
DLL |
|