共用方式為


ProtocolBase.ProtocolProperties 屬性

Represents a collection of ProtocolProperty objects. Each ProtocolProperty object represents an attribute defined on the referenced protocol.

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

語法

'宣告
Public ReadOnly Property ProtocolProperties As ProtocolPropertyCollection 
    Get
'用途
Dim instance As ProtocolBase 
Dim value As ProtocolPropertyCollection 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
A ProtocolPropertyCollection object that represents all the attributes defined on the referenced protocol.

範例

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

請參閱

參考

ProtocolBase 類別

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

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine