Compartir a través de


DatabaseActiveDirectory.Alias Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Alias As String 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Comentarios

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

Ejemplos

Establecer propiedades

Vea también

Referencia

DatabaseActiveDirectory Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)