Alias propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property Alias As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Notes

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