Compartilhar via


Método WmiSmoObject.CreateProtocolPropertyCollection

Creates a set of protocol attributes for the referenced object.

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

Sintaxe

'Declaração
Protected Overridable Function CreateProtocolPropertyCollection As ProtocolPropertyCollection
'Uso
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

Valor de retorno

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

Exemplos

Gerenciando serviços e configurações de rede através do provedor do WMI

Consulte também

Referência

WmiSmoObject Classe

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

WMI and SQL Server

Conectando ao Mecanismo de Banco de Dados do SQL Server