Share via


ServerAlias.Parent Property

Gets or sets the ManagedComputer object that is the parent of the ServerAlias object.

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

Syntax

'Declaration
Public Property Parent As ManagedComputer 
    Get 
    Set
'Usage
Dim instance As ServerAlias 
Dim value As ManagedComputer 

value = instance.Parent

instance.Parent = value
public ManagedComputer Parent { get; set; }
public:
property ManagedComputer^ Parent {
    ManagedComputer^ get ();
    void set (ManagedComputer^ value);
}
member Parent : ManagedComputer with get, set
function get Parent () : ManagedComputer 
function set Parent (value : ManagedComputer)

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
A ManagedComputer object that specifies the parent of the ServerAlias object.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ServerAlias Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine