Classe ServerProtocol
The ServerProtocol class represents a network protocol installed on a server instance that allows communication with SQL Server clients over a network.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class ServerProtocol _
Inherits ProtocolBase
'Utilizzo
Dim instance As ServerProtocol
public sealed class ServerProtocol : ProtocolBase
public ref class ServerProtocol sealed : public ProtocolBase
[<SealedAttribute>]
type ServerProtocol =
class
inherit ProtocolBase
end
public final class ServerProtocol extends ProtocolBase
Osservazioni
With the ServerProtocol class you can:
Modify the display name of the protocol.
Enable or disable the protocol.
View the IP addresses associated with the protocol.
Create a set of attributes for the protocol.
To get or set ServerProtocol object properties or run ServerProtocol methods, users must be a member of the sysadmin fixed server role.
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiSmoObject
Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ProtocolBase
Microsoft.SqlServer.Management.Smo.Wmi..::..ServerProtocol
Thread Safety
Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.
Vedere anche