DefaultSchema 属性
获取或设置绑定到该列的默认架构。
命名空间: 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
一个指定绑定到列的架构的 String 值。