Refresh Method
Use this method to update the cached site configuration resource properties after any of the properties have been changed.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Refresh ( _
siteName As String _
)
'Usage
Dim instance As AuthManager
Dim siteName As String
instance.Refresh(siteName)
public void Refresh(
string siteName
)
public:
void Refresh(
String^ siteName
)
public function Refresh(
siteName : String
)
Parameters
- siteName
Type: System..::.String
The Commerce Server site name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | siteName is nullNothingnullptra null reference (Nothing in Visual Basic). |
CommerceAuthenticationException | The properties could not be refreshed. |
Remarks
The siteName parameter must be the same as the sitename that was used to initialize the AuthManager class.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.