Protocol-Klasse
The Protocol object provides programmatic access to the protocols supported by SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Class Protocol
'Usage
Dim instance As Protocol
public class Protocol
public ref class Protocol
type Protocol = class end
public class Protocol
Hinweise
To get Payload object properties, users can be a member of the public fixed server role.
To set Payload object properties, users must be the owner of the endpoint, or have ALTER ANY ENDPOINT permission on the server, or be a member of the sysadmin fixed server role.
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..Protocol
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Siehe auch