AuthManager.UnInitialize Method (PIA)
Use this method to delete the site-specific configuration resource properties from the cache when the site is no longer valid.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop
…
Public Sub UnInitialize(bstrSiteName As String)
[C#]
using Microsoft.CommerceServer.Interop;
…
void UnInitialize(stringstrSiteName,
);
Parameters
[Visual Basic .NET]
- bstrSiteName
A String that contains the name of the site.
[C#]
- strSiteName
A string that contains the name of the site.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
[Visual Basic .NET]
The following table shows the custom COM errors that this method can return.
Value | Description |
---|---|
&HC1004C10 | The Initialize method must be called with the installed site name before calling this method. |
[C#]
The following table shows the custom COM errors that a COMException can wrap.
Value | Description |
---|---|
0xC1004C10 | The Initialize method must be called with the installed site name before calling this method. |
Remarks
This method must be called to disconnect the AuthManager object cache from the specified site.
The Initialize method loads the site configuration resource properties into the cache.
Requirements
Namespace: Microsoft.CommerceServer.Interop
Platforms: Windows 2000, Windows Server 2003
Assembly: mscsauthlib (in mscsauthlib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.