Remove method
Collapse the table of content
Expand the table of content

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

 

 

Show:
© 2016 Microsoft