Allows the view assembly to create a view description and add it to the specified scope node. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim instance As IConsoleView
Dim scopeNode As ScopeNode
Dim resourceAssembly As AssemblyDescription
Dim viewDetail As ViewAssemblyDescription
Dim returnValue As Boolean

returnValue = instance.TryInitialize(scopeNode, resourceAssembly, viewDetail)

Syntax

Visual Basic
Function TryInitialize ( _
		scopeNode As ScopeNode, _
		resourceAssembly As AssemblyDescription, _
		viewDetail As ViewAssemblyDescription _
) As Boolean
C#
bool TryInitialize (
		ScopeNode scopeNode,
		AssemblyDescription resourceAssembly,
		ViewAssemblyDescription viewDetail
)
C++
bool TryInitialize (
		ScopeNode^ scopeNode, 
		AssemblyDescription^ resourceAssembly, 
		ViewAssemblyDescription^ viewDetail
)
J#
boolean TryInitialize (
		ScopeNode scopeNode, 
		AssemblyDescription resourceAssembly, 
		ViewAssemblyDescription viewDetail
)
JScript
function TryInitialize (
		scopeNode : ScopeNode, 
		resourceAssembly : AssemblyDescription, 
		viewDetail : ViewAssemblyDescription
) : boolean

Parameters

scopeNode

[in] Microsoft.ManagementConsole.ScopeNode object.

resourceAssembly

[in] AssemblyDescription object for the resource.

viewDetail

[in] ViewAssemblyDescription object for view details.

Return Value

true if initialization is successful; otherwise false.

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