The Exchange_PublicFolder WMI class provides properties and methods for working with Microsoft® Exchange public folders.
The ExchangePublicFolderProvider supplies instances of the Exchange_PublicFolder class.
The Exchange_PublicFolder class extends the CIM_LogicalElement class.
| Property | Description |
|---|
| Url Property |
The Url property indicates the folder URL, constructed using the folder globally unique identifier (GUID). |
| AddressBookName Property |
[read,
write] string AddressBookName;
The AddressBookName property specifies the address book name of the folder. |
| AdministrativeNote Property |
[read,
write] string AdministrativeNote;
The AdministrativeNote property specifies the administrative note associated with the folder. |
| AdminSecurityDescriptor Property |
[read,
write] uint8 AdminSecurityDescriptor
[];
The AdminSecurityDescriptor property specifies the security descriptor that is used when a user logs on to the store with administrative privileges. |
| ADProxyPath Property |
[read] string ADProxyPath;
The ADProxyPath property indicates the GUID of the
Microsoft Active Directory® mail proxy for the folder. |
| AssociatedMessageCount Property |
[read] uint32 AssociatedMessageCount;
The AssociatedMessageCount property is a MAPI property that contains the total number of associated messages in the public folder. |
| AttachmentCount Property |
[read] uint32 AttachmentCount;
The AttachmentCount property indicates the total number of attachments on all normal messages in a folder. |
| CategorizationCount Property |
[read] uint32 CategorizationCount;
The CategorizationCount property indicates the total number of categorizations on the public folder. |
| Comment Property |
[read, write] string Comment;
The Comment property specifies the folder comment. |
| ContactCount Property |
[read] uint32 ContactCount;
The ContactCount property indicates the number of contacts in a public folder. |
| ContainsRules Property |
[read] boolean ContainsRules;
The ContainsRules property indicates whether the public folder contains rules. |
| CreationTime Property |
[read] datetime CreationTime;
The CreationTime property indicates when the folder was created. |
| DeletedItemLifetime Property |
[read,
write,
units("days")] uint32 DeletedItemLifetime;
The DeletedItemLifetime property specifies how long, in days, that deleted messages can be recovered. |
| FolderTree Property |
[read] string FolderTree;
The FolderTree property indicates the WMI path to the top-level hierarchy object to which the folder belongs. |
| FriendlyUrl Property |
[read] string FriendlyUrl;
The FriendlyUrl property indicates the path-based URL to the folder. |
| HasChildren Property |
[read] boolean HasChildren;
The HasChildren property indicates whether the folder has subfolders. |
| HasLocalReplica Property |
[read] boolean HasLocalReplica;
The HasLocalReplica property indicates whether the folder has a local replica. |
| IsMailEnabled Property |
[read,
write] boolean IsMailEnabled;
The IsMailEnabled property specifies whether the folder is mail-enabled. |
| IsNormalFolder Property |
[read] boolean IsNormalFolder;
The IsNormalFolder property indicates whether the public folder is a normal folder. |
| IsPerUserReadDisabled Property |
[read,
write] boolean IsPerUserReadDisabled;
The IsPerUserReadDisabled property specifies whether the folder tracks per-user read information for messages. |
| IsSearchFolder Property |
[read] boolean IsSearchFolder;
The IsSearchFolder property indicates whether the public folder is a search folder. |
| IsSecureInSite Property |
[read,
write] boolean IsSecureInSite;
The IsSecureInSite property specifies whether administrative access is limited to the home site of the folder. |
| LastAccessTime Property |
[read] datetime LastAccessTime;
The LastAccessTime property indicates the last date that the replica of a public folder was accessed. |
| LastModificationTime Property |
[read] datetime LastModificationTime;
The LastModificationTime property indicates when the folder was last modified. |
| MaximumItemSize Property |
[read,
write,
units("KB")] uint32 MaximumItemSize;
The MaximumItemSize property specifies the maximum size, in kilobytes (KB), that is allowed for an individual post to the folder. |
| MessageCount Property |
[read] uint32 MessageCount;
The MessageCount property indicates the number of messages in a public folder. |
| MessageWithAttachmentsCount Property |
[read] uint32 MessageWithAttachmentsCount;
The MessageWithAttachmentsCount property indicates the total number of normal messages with attachments in the public folder. |
| Name Property |
[read,
Override("Name"),
required] string Name = NULL;
The Name property indicates the name of the folder. |
| NormalMessageSize Property |
[read,
units("bytes")] uint32 NormalMessageSize;
The NormalMessageSize property indicates the total size, in bytes, of all of the normal messages in the public folder. |
| OwnerCount Property |
[read] uint32 OwnerCount;
The OwnerCount property indicates the number of owners of the public folder. |
| ParentFriendlyUrl Property |
[read,
required] string ParentFriendlyUrl;
The ParentFriendlyUrl property indicates the folder path-based URL to the parent of the folder. |
| Path Property |
The Path property indicates the folder path minus the URL http://server/vroot header portion. |
| ProhibitPostLimit Property |
[read,
write,
units("KB")] uint32 ProhibitPostLimit;
The ProhibitPostLimit property specifies the folder size limit, in KB, when posting is prevented. |
| PublishInAddressBook Property |
[read,
write] boolean PublishInAddressBook;
The PublishInAddressBook property specifies whether the folder will show up in the global address list if it is mail-enabled. |
| RecipientCountOnAssociatedMessages Property |
[read] uint32 RecipientCountOnAssociatedMessages;
The RecipientCountOnAssociatedMessages property indicates the total number of recipients on the associated messages in the public folder. |
| RecipientCountOnNormalMessages Property |
[read] uint32 RecipientCountOnNormalMessages;
The RecipientCountOnNormalMessages property indicates the total number of recipients on the normal messages in the public folder. |
| ReplicaAgeLimit Property |
[read,
write,
units("days")] uint32 ReplicaAgeLimit;
The ReplicaAgeLimit property specifies the age limit for messages across all replicas. |
| ReplicaList Property |
[read] string ReplicaList[];
The ReplicaList property indicates the list of distinguished names of the MDBs to which the folder is replicated. |
| ReplicationMessagePriority Property |
[read,
write,
Values{"Not Urgent", "Normal",
"Urgent"},
ValueMap{"0", "1", "2"}] uint32 ReplicationMessagePriority;
The ReplicationMessagePriority property specifies the priority level for replicating folder messages. |
| ReplicationSchedule Property |
[read,
write] Exchange_ScheduleInterval ReplicationSchedule
[];
The array elements of the ReplicationSchedule property specify the replication schedule of the folder. Each element of the array is an instance of the Exchange_ScheduleInterval Class. |
| ReplicationStyle Property |
[read,
write,
Values{"Custom", "Never", "Always",
"Every hour", "Every two hours",
"Every four hours", "Use public store schedule"},
ValueMap{"0", "1", "2", "3",
"4", "5", "6"}] uint32 ReplicationStyle;
The ReplicationStyle property specifies how often the folder contents are replicated. |
| RestrictionCount Property |
[read] uint32 RestrictionCount;
The RestrictionCount property indicates the total number of restrictions on the public folder. |
| SecurityDescriptor Property |
[read,
write] uint8 SecurityDescriptor
[];
The SecurityDescriptor property specifies the administrative security descriptor for the folder. |
| StorageLimitStyle Property |
[read,
write,
Values{"Use public store style",
"Use Specified Quota", "No Quota"},
ValueMap{"0", "1", "2"}] uint32 StorageLimitStyle;
The StorageLimitStyle property specifies whether the folder should use public store storage limits, have no quota, or use quota values set on the folder. |
| TargetAddress Property |
[read] string TargetAddress;
The TargetAddress property is a MAPI property that contains the e-mail address of the public folder. |
| TotalMessageSize Property |
[read,
units("bytes")] uint32 TotalMessageSize;
The TotalMessageSize property indicates the total size, in bytes, of all of the normal messages in the public folder. The TotalMessageSize property is an 8-byte version of the NormalMessageSize property. |
| UsePublicStoreAgeLimits Property |
[read,
write] boolean UsePublicStoreAgeLimits;
The UsePublicStoreAgeLimits property specifies whether the folder should use the age limits of the message database (MDB) in which it is stored. |
| UsePublicStoreDeletedItemLifetime Property |
[read,
write] boolean UsePublicStoreDeletedItemLifetime;
The UsePublicStoreDeletedItemLifetime property specifies whether the folder should use the deleted item lifetime of the local public MDB. |
| WarningLimit Property |
[read,
write,
units("KB")] uint32 WarningLimit;
The WarningLimit property specifies the folder size limit, in KB, when warning messages are sent. |
This class has no associations.
The following example shows how to retrieve a list of Exchange_PublicFolder instances, and how to retrieve all the associated properties.