다음을 통해 공유


DatabaseActiveDirectory.Alias 속성

Gets or sets an alternative name for the database that appears in the Active Directory registration of the database.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Alias As String 
    Get 
    Set
‘사용 방법
Dim instance As DatabaseActiveDirectory 
Dim value As String 

value = instance.Alias

instance.Alias = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Alias { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Alias {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Alias : string with get, set
function get Alias () : String 
function set Alias (value : String)

속성 값

유형: System.String
A String value that specifies the alternative name for the database.

주의

This property will appear with the Active Directory registration of the referenced database.

속성 설정

참고 항목

참조

DatabaseActiveDirectory 클래스

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

관련 자료

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)