SubmitRegistrationRecord Method in Class SMS_Site

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The SubmitRegistrationRecord Windows Management Instrumentation (WMI) class method, in Configuration Manager, submits a registration record.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

SInt32 SubmitRegistrationRecord(
     String SMSID,
     String Certificate,
     String CertificatePFX,
     SInt32 Type,
     String ServerName,
     SInt32 UdaSetting,
     SInt32 IssuedCert
);

Parameters

  • SMSID
    Data type: String

    Qualifiers: [in]

    The GUID used to identify the certificate. This is the value of the SMSID property in SMS_CertificateInfo Server WMI Class.

  • Certificate
    Data type: String

    Qualifiers: [in]

    Hexadecimal-encoded certificate.

  • CertificatePFX
    Data type: String

    Qualifiers: [in, optional]

    Hexadecimal-encoded private key for PFX file containing the certificate. The default value is "".

  • Type
    Data type: SInt32

    Qualifiers: [in, optional]

    The type of certificate. Possible values are defined for the Type property of SMS_CertificateInfo Server WMI Class. The default value for this parameter is BootMedia (1).

  • ServerNam
    Data type: String

    Qualifiers: [in, optional]

    Name used to identify the server.

  • UdaSetting
    Data type: SInt32

    Qualifiers: [in, optional]

    UdaSetting.  . The default value for this parameter is Disabled (0).

    0

    Disabled

    1

    Pending

    2

    Auto

  • IssuedCert
    Data type: SInt32

    Qualifiers: [in, optional]

    IssuedCert.  . The default value for this parameter is 1.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

SMS_Site Server WMI Class
ImportMachineEntry Method in Class SMS_Site
IsUsedCert Method in Class SMS_Site
SMS_CertificateInfo Server WMI Class