Freigeben über


ISmsMessage4::SetEncryptionCertificatesStore Method

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 ISmsMessage4::SetEncryptionCertificatesStore method, in Configuration Manager, sets the certificates to use for encrypting outgoing data.

[IDL]
HRESULT SetEncryptionCertificatesStore(
     MPAPI_CERT_STORE_LOCATION  StoreLocation,
     LPCWSTR  szStoreName
);

Parameters

  • szStoreName
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated string specifying the store name.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Remarks

This methodis applicable only to the mixed security mode.

The certificate store must contain the public portion of the certificates for all management points that can possibly receive the message.

Note

If you are using Network Load Balancing (NLB), provide the certificate for each computer in the NLB cluster.

The certificate store only needs to be set when the security flag MPAPI_SECURITYFLAG_ENCRYPT_MESSAGE is applied to the message. For more information, see MPAPI_SECURITY_FLAGS Enumeration.

Requirements

See Also

Concepts

ISmsMessage4 Interface
MPAPI_CERT_STORE_LOCATION Enumeration
MPAPI_SECURITY_FLAGS Enumeration