Condividi tramite


Proprietà ServerInstance.ServerProtocols

Represents a collection of ServerProtocol objects. Each ServerProtocol object represents a server protocol defined on the Microsoft Management Instrumentation (WMI) installation.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property ServerProtocols As ServerProtocolCollection 
    Get
'Utilizzo
Dim instance As ServerInstance 
Dim value As ServerProtocolCollection 

value = instance.ServerProtocols
public ServerProtocolCollection ServerProtocols { get; }
public:
property ServerProtocolCollection^ ServerProtocols {
    ServerProtocolCollection^ get ();
}
member ServerProtocols : ServerProtocolCollection
function get ServerProtocols () : ServerProtocolCollection

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolCollection
A ServerProtocolCollection object that represents all the server protocols defined on the WMI installation.

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

ServerInstance Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server