Proprietà ServerRole.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 Property Parent As Server
Get
Set
'Utilizzo
Dim instance As ServerRole
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)
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Server
A Server object value that is the parent of the ServerRole object.
Esempi
Gestione di utenti, ruoli e account di accesso
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Altre risorse
Autorizzazioni dei ruoli predefiniti del server (Motore di database)