共用方式為


ServerProtocol.IPAddresses 屬性

Represents a collection of ServerIPAddress objects. Each ServerIPAddress object represents an IP address defined on the server protocol.

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

語法

'宣告
Public ReadOnly Property IPAddresses As ServerIPAddressCollection 
    Get
'用途
Dim instance As ServerProtocol 
Dim value As ServerIPAddressCollection 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddressCollection
An ServerIPAddressCollection object that represents all the IP addresses defined on the server protocol.

範例

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

請參閱

參考

ServerProtocol 類別

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

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine