Partager via


GuidTemplate class

[The AD RMS SDK leveraging functionality exposed by the client in Msdrm.dll is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions. Instead, use Active Directory Rights Management Services SDK 2.1, which leverages functionality exposed by the client in Msipc.dll.]

The GuidTemplate class represents a template stored on an AD RMS server. An array of these objects is returned by the AcquireTemplates method.

Note

This SOAP data type is documented as if it were used in a .NET Framework XML web service client. For more information about creating an XML web service client, see Building XML Web Service Clients and Accessing XML Web Services in Managed Code.

Inheritance

The GuidTemplate class is derived from System.Object.

Members

Fields

The GuidTemplate class has the following fields.

Field Description
Guid Data type: String
A string value that contains a GUID for a template.
Hash Data type: String
A string value that contains a hash of the template. The hash is used by AD RMS to determine whether a template has changed after it was last retrieved. If it has not changed, it will not be downloaded.
Template Data type: String
A string that contains the template in XML format.

Web Service Description Page

ServerURL/_wmcs/Licensing/TemplateDistribution.asmx?wsdl

Remarks

The actual structure of the SOAP type varies from language to language. To obtain the structure of the type, query the web service description page.

You can call the AcquireTemplateInformation method to retrieve a TemplateInformation object, and you can call the AcquireTemplates method to retrieve an array of active templates from the AD RMS server.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008

See also

AD RMS SOAP Data Types

AcquireTemplateInformation

AcquireTemplates