ApplicationRole.DefaultSchema プロパティ

アプリケーション ロールの既定のスキーマを取得または設定します。

この 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
既定のスキーマの名前を示す String 値です。

使用例

プロパティの設定

関連項目

参照

ApplicationRole クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

User-Schema Separation