Udostępnij za pośrednictwem


ISmsMessage::SetProperty 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 ISmsMessage::SetProperty method, in Configuration Manager, sets a named property value.

[IDL]
HRESULT SetProperty(
      LPCWSTR  szPropName,
      LPCWSTR  szValue
);

Parameters

  • szPropName
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated string specifying the property name.

  • szValue
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated string specifying the property value.

Return Values

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

  • S_OK
    The method succeeded.

Remarks

See Also

Concepts

ISmsMessage Interface