Share via


Column.DefaultSchema 속성

Gets or sets the default schema that is bound to the column.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "dbo")> _
Public Property DefaultSchema As String 
    Get 
    Set
‘사용 방법
Dim instance As Column 
Dim value As String 

value = instance.DefaultSchema

instance.DefaultSchema = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "dbo")]
public string DefaultSchema { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase, 
    L"dbo")]
public:
property String^ DefaultSchema {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "dbo")>]
member DefaultSchema : string with get, set
function get DefaultSchema () : String 
function set DefaultSchema (value : String)

속성 값

유형: System.String
A String value that specifies the schema bound to the column.

데이터베이스 개체 작업

참고 항목

참조

Column 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE TABLE(Transact-SQL)

스키마 생성, 변경 및 제거