ExportRole Method in Class SMS_Role

The ExportRole Windows Management Instrumentation (WMI) class method, in Configuration Manager, exports roles to an XML string.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

SInt32 ExportRole(  
     String RoleID,  
     String ExportedXML,  
);  

Parameters

RoleID
Data type: String

Qualifiers: [in]

The id of the role.

ExportedXML
Data type: String

Qualifiers: [out]

The XML blob for the role.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

SMS_Role Server WMI Class