次の方法で共有


Remove method of the MSFT_SmbMapping class

Removes an SMB mapping.

Syntax

uint32 Remove(
  [in] boolean UpdateProfile,
  [in] boolean Force
);

Parameters

UpdateProfile [in]

True if the mapping will be persistently removed. False if the mapping will reappear when the computer is restarted.

Force [in]

True if the mapping will be removed even if it is in use, which may cause data loss.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Smb
MOF
SmbWmiV2.mof
DLL
SmbWmiV2.dll

See also

MSFT_SmbMapping