Partager via


Contact propriété

Gets or sets a contact 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 Contact As String
    Get
    Set
'Utilisation
Dim instance As DatabaseActiveDirectory
Dim value As String

value = instance.Contact

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

Valeur de la propriété

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

Notes

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