ApplicationManifest.CreateFromString

The CreateFromString method creates an instance of an ApplicationManifest object from a specified string containing the application manifest.

Syntax

[C#]

  Copy imageCopy Code
public static ApplicationManifest CreateFromString(
  String applicationManifest
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Shared Function CreateFromString( _
  ByVal applicationManifest As String _
) As ApplicationManifest

Parameters

applicationManifest

Specifies the application manifest XML document as a Unicode string.

Return Values

This method returns a new ApplicationManifest object.

Remarks

This static method simply reads the supplied XML string and creates an ApplicationManifest object containing the XML content. To compile the application manifest and its associated MSPL script, the ApplicationManifest.Compile method must be called on the newly created ApplicationManifest object.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also