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;
};

Methods

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.

Properties

AlertIDs

Data type: UInt32 Array Access type: Read/Write Qualifiers: [lazy]Alert IDs included in the subscription.
CreatedBy

Data type: StringAccess type: Read-only Qualifiers: [not_null, read, sizelimit("512")]Name of the user who created the subscription.
DateCreated

Data type: DateTimeAccess type: Read-only Qualifiers: [not_null, read]Date and time when the subscription was created.
DateLastModified

Data type: DateTimeAccess type: Read-only Qualifiers: [not_null, read]Date and time when the subscription was last modified.
EmailAddress

Data type: StringAccess type: Read/Write Qualifiers: noneEmail addresses.
EmailTemplates

Data type: SMS_AlertEmailTemplate Array Access type: Read/Write Qualifiers: [lazy]Email template for alerts included in the subscription.
ID

Data type: UInt32Access type: Read/Write Qualifiers: [key]Identifier of the subscription.
LastModifiedBy

Data type: StringAccess 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: UInt32Access type: Read/Write Qualifiers: noneLocaleID of this subscription.
Name

Data type: StringAccess type: Read/Write Qualifiers: noneThe name of the subscription.
Type

Data type: UInt32Access type: Read/Write Qualifiers: noneType of subscription. Possible values are:

1

Alert subscriptions.

The default value is 1.

Remarks

Requirements

Runtime Requirements

Development Requirements

See Also