Partager via


ConfigMgrBgbSession.CreateSession Method (BgbSessionType, String, UInt16, MessageSecurityMode, SmsClientId, ClientVersionBase, MessageCertificateX509)

 

Creates a new client notification session of a specific type.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static ConfigMgrBgbSession CreateSession(
    BgbSessionType sessionType,
    string bgbServerHostName,
    ushort port,
    MessageSecurityMode securityMode,
    SmsClientId smsId,
    ClientVersionBase clientVersion,
    MessageCertificateX509 certificate
)
public:
static ConfigMgrBgbSession^ CreateSession(
    BgbSessionType sessionType,
    String^ bgbServerHostName,
    unsigned short port,
    MessageSecurityMode securityMode,
    SmsClientId^ smsId,
    ClientVersionBase^ clientVersion,
    MessageCertificateX509^ certificate
)
Public Shared Function CreateSession (
    sessionType As BgbSessionType,
    bgbServerHostName As String,
    port As UShort,
    securityMode As MessageSecurityMode,
    smsId As SmsClientId,
    clientVersion As ClientVersionBase,
    certificate As MessageCertificateX509
) As ConfigMgrBgbSession

Parameters

  • bgbServerHostName
    Type: System.String

    Client notification server host name.

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Messages.ConfigMgrBgbSession

Client notification session object.

See Also

CreateSession Overload
ConfigMgrBgbSession Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top