Share via


WmiSmoObject.GetProtocolPropertyCollection Method

Returns the protocol property collection for the referenced object.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Protected Function GetProtocolPropertyCollection As ProtocolPropertyCollection
'Usage
Dim returnValue As ProtocolPropertyCollection 

returnValue = Me.GetProtocolPropertyCollection()
protected ProtocolPropertyCollection GetProtocolPropertyCollection()
protected:
ProtocolPropertyCollection^ GetProtocolPropertyCollection()
member GetProtocolPropertyCollection : unit -> ProtocolPropertyCollection
protected function GetProtocolPropertyCollection() : ProtocolPropertyCollection

Return Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
A ProtocolPropertyCollection object that specifies the protocol property collection for the referenced object.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiSmoObject Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine