Compartir a través de


UserOptions.Parent Propiedad

Gets the Server object that is the parent of the UserOptions 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 
    Friend Set
'Uso
Dim instance As UserOptions 
Dim value As Server 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; internal set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
    Server^ get ();
    internal: void set (Server^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server with get, internal set
function get Parent () : Server 
internal 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 UserOptions object.

Ejemplos

Configurar SQL Server en SMO

Vea también

Referencia

UserOptions Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Configurar SQL Server en SMO

user options (opción)