Dela via


UserOptions.Parent Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Server
    Get
    Friend Set
'Usage
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)

Property Value

Type: Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies the parent of the UserOptions object.