ApplicationRole.DefaultSchema 속성
Gets or sets the default schema for the application role.
이 API는 CLS 규격이 아닙니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Schema), "Server[@Name = '{0}']/Database[@Name = '{1}']/Schema[@Name = '{2}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultSchema As String
Get
Set
‘사용 방법
Dim instance As ApplicationRole
Dim value As String
value = instance.DefaultSchema
instance.DefaultSchema = value
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Schema), "Server[@Name = '{0}']/Database[@Name = '{1}']/Schema[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string DefaultSchema { get; set; }
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Schema), L"Server[@Name = '{0}']/Database[@Name = '{1}']/Schema[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ DefaultSchema {
String^ get ();
void set (String^ value);
}
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Schema), "Server[@Name = '{0}']/Database[@Name = '{1}']/Schema[@Name = '{2}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member DefaultSchema : string with get, set
function get DefaultSchema () : String
function set DefaultSchema (value : String)
속성 값
유형: System.String
A String value that specifies the name of the default schema.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스