Default 속성
열에 바인딩된 기본값을 가져오거나 설정합니다.
이 API는 CLS 규격이 아닙니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']", _
)> _
Public Property Default As String
Get
Set
‘사용 방법
Dim instance As Column
Dim value As String
value = instance.Default
instance.Default = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']",
)]
public string Default { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Default), L"Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']",
)]
public:
property String^ Default {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']",
)>]
member Default : string with get, set
function get Default () : String
function set Default (value : String)
속성 값
유형: System. . :: . .String
열에 바인딩된 기본값을 지정하는 Default 개체입니다.
주의
The Default property specifies a default. This can be bound to the column by using the BindToColumn method.