The object provides programmatic access to the protocols supported by SQL Server.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
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.
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.