Compartilhar via


Propriedade Alias

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public Property Alias As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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