Loads the specified XML into the property sheet XML by using .NET
reflection.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in
microsoft.configurationmanagement.dll)
Usage
Visual Basic |
Dim propertySheetXml As String
Dim assembly As Assembly
Dim propertySheetXmlObject As SmsFormData
UtilityClass.LoadPropertySheetSerializer(propertySheetXml, assembly, propertySheetXmlObject)
|
Syntax
Visual Basic |
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name:="FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name:="FullTrust")> _
Public Shared Sub LoadPropertySheetSerializer ( _
ByRef propertySheetXml As String, _
<OutAttribute> ByRef assembly As Assembly, _
<OutAttribute> ByRef propertySheetXmlObject As SmsFormData _
)
|
C# |
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")]
public static void LoadPropertySheetSerializer (
ref string propertySheetXml,
out Assembly assembly,
out SmsFormData propertySheetXmlObject
)
|
C++ |
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name=L"FullTrust")]
[PermissionSetAttribute(SecurityAction::LinkDemand, Name=L"FullTrust")]
public:
static void LoadPropertySheetSerializer (
String^% propertySheetXml,
[OutAttribute] Assembly^% assembly,
[OutAttribute] SmsFormData^% propertySheetXmlObject
)
|
J# |
/** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust") */
/** @attribute PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust") */
public static void LoadPropertySheetSerializer (
/** @ref */ String propertySheetXml,
/** @attribute OutAttribute() */ /** @ref */ Assembly assembly,
/** @attribute OutAttribute() */ /** @ref */ SmsFormData propertySheetXmlObject
)
|
Parameters
- propertySheetXml
-
[in] Reference to the property sheet XML to load.
- assembly
-
[out] System.Reflection.Assembly object for the property
sheet.
- propertySheetXmlObject
-
[out] SmsFormData
object that represents the changed property sheet XML.
Exceptions
Exception type |
Condition |
FileLoadException
|
The property sheet assembly could not be loaded.
|
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also