DatabaseActiveDirectory.Alias Property


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 (in Microsoft.SqlServer.Smo.dll)

public string Alias { get; set; }

Property Value

Type: 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 Class
Microsoft.SqlServer.Management.Smo Namespace
Active Directory Stored Procedures (Transact-SQL)
sp_ActiveDirectory_Obj (Transact-SQL)

Return to top