SMS_Subscription Server WMI Class

 

Updated: November 1, 2013

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

The SMS_Subscription Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents email subscriptions.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_Subscription : SMS_BaseClass
{
    UInt32 AlertIDs[];
    String CreatedBy;
    DateTime DateCreated;
    DateTime DateLastModified;
    String EmailAddress;
    SMS_AlertEmailTemplate EmailTemplates[];
    UInt32 ID;
    String LastModifiedBy;
    UInt32 LocaleID;
    String Name;
    UInt32 Type;
};

The following table lists the methods in the SMS_Subscription class.

Method

Description

GetAvailableLanguages Method in Class SMS_Subscription

Gets the available languages.

GetTestSmtpConnectionResult Method in Class SMS_Subscription

Gets the test SMTP connection result.

TestSmtpConnection Method in Class SMS_Subscription

Tests the SMTP connection.

AlertIDs

Data type: UInt32 Array

Access type: Read/Write

Qualifiers: [lazy]

Alert IDs included in the subscription.

CreatedBy

Data type: String

Access type: Read-only

Qualifiers: [not_null, read, sizelimit("512")]

Name of the user who created the subscription.

DateCreated

Data type: DateTime

Access type: Read-only

Qualifiers: [not_null, read]

Date and time when the subscription was created.

DateLastModified

Data type: DateTime

Access type: Read-only

Qualifiers: [not_null, read]

Date and time when the subscription was last modified.

EmailAddress

Data type: String

Access type: Read/Write

Qualifiers: none

Email addresses.

EmailTemplates

Data type: SMS_AlertEmailTemplate Array

Access type: Read/Write

Qualifiers: [lazy]

Email template for alerts included in the subscription.

ID

Data type: UInt32

Access type: Read/Write

Qualifiers: [key]

Identifier of the subscription.

LastModifiedBy

Data type: String

Access type: Read-only

Qualifiers: [not_null, read, sizelimit("512")]

User who last modified the subscription. The string can contain up to 512 characters.

LocaleID

Data type: UInt32

Access type: Read/Write

Qualifiers: none

LocaleID of this subscription.

Name

Data type: String

Access type: Read/Write

Qualifiers: none

The name of the subscription.

Type

Data type: UInt32

Access type: Read/Write

Qualifiers: none

Type of subscription. Possible values are:

1

Alert subscriptions.

The default value is 1.

Show: