共用方式為


CreateProtocolPropertyCollection 方法

Creates a set of protocol attributes for the referenced object.

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

語法

'宣告
Protected Overridable Function CreateProtocolPropertyCollection As ProtocolPropertyCollection
'用途
Dim returnValue As ProtocolPropertyCollection

returnValue = Me.CreateProtocolPropertyCollection()
protected virtual ProtocolPropertyCollection CreateProtocolPropertyCollection()
protected:
virtual ProtocolPropertyCollection^ CreateProtocolPropertyCollection()
abstract CreateProtocolPropertyCollection : unit -> ProtocolPropertyCollection 
override CreateProtocolPropertyCollection : unit -> ProtocolPropertyCollection 
protected function CreateProtocolPropertyCollection() : ProtocolPropertyCollection

傳回值

型別:Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ProtocolPropertyCollection
A ProtocolPropertyCollection object that specifies the set of protocol attributes.