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> _
Public Property Alias As String
    Get
    Set
用法
Dim instance As DatabaseActiveDirectory
Dim value As String

value = instance.Alias

instance.Alias = value
[SfcPropertyAttribute]
public string Alias { get; set; }
[SfcPropertyAttribute]
public:
property String^ Alias {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
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.

示例

设置属性