共用方式為


ServerIPAddress.Parent 屬性

Gets the ServerProtocol object that is the parent of the ServerIPAddress object.

命名空間:  Microsoft.SqlServer.Management.Smo.Wmi
組件:  Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

語法

'宣告
Public ReadOnly Property Parent As ServerProtocol 
    Get
'用途
Dim instance As ServerIPAddress 
Dim value As ServerProtocol 

value = instance.Parent
public ServerProtocol Parent { get; }
public:
property ServerProtocol^ Parent {
    ServerProtocol^ get ();
}
member Parent : ServerProtocol
function get Parent () : ServerProtocol

屬性值

型別:Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
A ServerProtocol object that is the parent of the ServerIPAddress object

範例

使用 WMI 提供者管理服務和網路設定

請參閱

參考

ServerIPAddress 類別

Microsoft.SqlServer.Management.Smo.Wmi 命名空間

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine