AuthManager.Refresh Method (PIA)

Use this method to update the cached site configuration resource properties after any of the properties have been changed.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop
…
Public Sub Refresh(bstrSiteName As String)

[C#]

using Microsoft.CommerceServer.Interop;
…
void Refresh(stringstrSiteName);

Parameters

[Visual Basic .NET]

  • bstrSiteName
    A String that contains the site name.

[C#]

  • strSiteName
    A string that contains the site name.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

This method should be called immediately after changing any of the authentication related site configuration resource properties. Also, use this method when switching between Active Server Pages (ASP) and Microsoft Visual Basic Scripting Edition (VBScript) files and updating the site configuration properties.

Requirements

Namespace: Microsoft.CommerceServer.Interop

Platforms: Windows 2000, Windows Server 2003

Assembly: mscsauthlib (in mscsauthlib.dll)

See Also

AuthManager Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.