Partager via


Méthode WmiSmoObject.GetProtocolPropertyCollection

Returns the protocol property collection for the referenced object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Protected Function GetProtocolPropertyCollection As ProtocolPropertyCollection
'Utilisation
Dim returnValue As ProtocolPropertyCollection 

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

Valeur de retour

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

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

Voir aussi

Référence

WmiSmoObject Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi

Autres ressources

WMI and SQL Server

Connexion au moteur de base de données SQL Server