ApplicationRole.DefaultSchema Property

Gets or sets the default schema for the application role.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property DefaultSchema As String
    Get
    Set
'Usage
Dim instance As ApplicationRole
Dim value As String

value = instance.DefaultSchema

instance.DefaultSchema = value
[SfcPropertyAttribute]
public string DefaultSchema { get; set; }
[SfcPropertyAttribute]
public:
property String^ DefaultSchema {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member DefaultSchema : string with get, set
function get DefaultSchema () : String
function set DefaultSchema (value : String)

Property Value

Type: System.String
A String value that specifies the name of the default schema.