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)

创建、更改和删除架构