Freigeben über


DatabaseActiveDirectory.Contact-Eigenschaft

Gets or sets a contact 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)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Contact As String 
    Get 
    Set
'Usage
Dim instance As DatabaseActiveDirectory 
Dim value As String 

value = instance.Contact

instance.Contact = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Contact { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Contact {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Contact : string with get, set
function get Contact () : String 
function set Contact (value : String)

Eigenschaftswert

Typ: System.String
A String value that specifies a contact name for the database.

Hinweise

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

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

DatabaseActiveDirectory Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)