ConfigurationBase.Parent Property

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; }
public:
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
property Server^ Parent {
    Server^ get();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server with get
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>
Public ReadOnly Property Parent As Server

Property Value

Type: Microsoft.SqlServer.Management.Smo.Server

A Server object that is the parent of the Configuration object.

Examples

Legacy Code Example

Configuring SQL Server in SMO

See Also

ConfigurationBase Class
Microsoft.SqlServer.Management.Smo Namespace
Server Configuration Options (SQL Server)
sp_configure (Transact-SQL)

Return to top