The ClearMapping method clears a mapping of a Membership virtual server instance to a specified service. (e.g. "W3SVC")
IDL Definition
HRESULT ClearMapping(
BSTR bszServiceName,
LONG lVirtServId
);
Parameters
bszServiceName
The name of the service to "un-map" from the Membership virtual server instance.
lvirtServId
The Membership virtual server instance identifier to "un-map" from the service bszServiceName.
Return Values
A standard HRESULT value
Example
Set ObjCreator = CreateObject("ObjCreator.ObjCreator.1")
Set BrokServers = ObjCreator.CreateObjAuth("MemAdmin.BrokServers.1")
BrokServers.CleapMapping "W3SVC" , "1"