Scope Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the scope where this request was denied.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public ReadOnly Property Scope As String
'Usage
Dim instance As NotAuthorizedException
Dim value As String

value = instance.Scope
public string Scope { get; }
public:
property String^ Scope {
    String^ get ();
}
public function get Scope () : String

Property Value

Type: System..::.String
The scope where this request was denied.

Remarks

Gets the scope name where this exception occurred. The name of the authorization policy scope in which the authorization was requested. This Scope property may be nullNothingnullptra null reference (Nothing in Visual Basic), indicating the top-level Application scope.

Permissions

See Also

Reference

NotAuthorizedException Class

NotAuthorizedException Members

Microsoft.CommerceServer Namespace