Compartir a través de


Parent Propiedad

Gets the Server object that is the parent of the Credential object.

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

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Server
    Get
    Set
'Uso
Dim instance As Credential
Dim value As Server

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
    Server^ get ();
    void set (Server^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server with get, set
function get Parent () : Server
function set Parent (value : Server)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object value that specifies the parent of the Credential object.

Comentarios

The Parent property must be set before the Credential object is created.