다음을 통해 공유


SubmitRegistrationRecord Method in Class SMS_Site

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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

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

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

Parameters

  • 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.

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

Reference

SMS_Site Server WMI Class
ImportMachineEntry Method in Class SMS_Site

Concepts

IsUsedCert Method in Class SMS_Site
SMS_CertificateInfo Server WMI Class