共用方式為


WmiSmoObject.AlterProtocolProperties 方法

Updates any protocol object property changes on the Windows Management Instrumentation (WMI) installation.

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

語法

'宣告
Protected Sub AlterProtocolProperties ( _
    protocolProperties As ProtocolPropertyCollection _
)
'用途
Dim protocolProperties As ProtocolPropertyCollection 

Me.AlterProtocolProperties(protocolProperties)
protected void AlterProtocolProperties(
    ProtocolPropertyCollection protocolProperties
)
protected:
void AlterProtocolProperties(
    ProtocolPropertyCollection^ protocolProperties
)
member AlterProtocolProperties : 
        protocolProperties:ProtocolPropertyCollection -> unit
protected function AlterProtocolProperties(
    protocolProperties : ProtocolPropertyCollection
)

參數

範例

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

請參閱

參考

WmiSmoObject 類別

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

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine