Condividi tramite


Proprietà Parent

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Server
    Get
'Utilizzo
Dim instance As ServerRole
Dim value As Server

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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object value that is the parent of the ServerRole object.