Initializes the view description base. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim instance As ViewDescriptionBase
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
Public Function TryInitialize ( _
		scopeNode As ScopeNode, _
		resourceAssembly As AssemblyDescription, _
		viewDetail As ViewAssemblyDescription _
) As Boolean
C#
public bool TryInitialize (
		ScopeNode scopeNode,
		AssemblyDescription resourceAssembly,
		ViewAssemblyDescription viewDetail
)
C++
public:
virtual bool TryInitialize (
		ScopeNode^ scopeNode, 
		AssemblyDescription^ resourceAssembly, 
		ViewAssemblyDescription^ viewDetail
) sealed
J#
public final boolean TryInitialize (
		ScopeNode scopeNode, 
		AssemblyDescription resourceAssembly, 
		ViewAssemblyDescription viewDetail
)
JScript
public final function TryInitialize (
		scopeNode : ScopeNode, 
		resourceAssembly : AssemblyDescription, 
		viewDetail : ViewAssemblyDescription
) : boolean

Parameters

scopeNode

[in] Microsoft.ManagementConsole.ScopeNode object.

resourceAssembly

[in] AssemblyDescription object that represents the resource assembly.

viewDetail

[in] ViewAssemblyDescription object that represents view details.

Return Value

true if the initialization succeeds; otherwise false.

Exceptions

Exception type Condition
ArgumentNullException

The viewDetail parameter cannot be null.

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