Default 속성
Gets or sets a SQL Server default that is bound to the user-defined data type.
이 API는 CLS 규격이 아닙니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcReferenceAttribute(GetType(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
<CLSCompliantAttribute(False)> _
Public Property Default As String
Get
Set
‘사용 방법
Dim instance As UserDefinedDataType
Dim value As String
value = instance.Default
instance.Default = value
[SfcReferenceAttribute(typeof(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
[CLSCompliantAttribute(false)]
public string Default { get; set; }
[SfcReferenceAttribute(typeof(Default), L"Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
[CLSCompliantAttribute(false)]
public:
property String^ Default {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
[<CLSCompliantAttribute(false)>]
member Default : string with get, set
function get Default () : String
function set Default (value : String)
속성 값
유형: System. . :: . .String
A String value that specifies the bound default.