IConsoleView.TryInitialize Method
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
'Usage
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
'Declaration
Function TryInitialize ( _
scopeNode As ScopeNode, _
resourceAssembly As AssemblyDescription, _
viewDetail As ViewAssemblyDescription _
) As Boolean
bool TryInitialize (
ScopeNode scopeNode,
AssemblyDescription resourceAssembly,
ViewAssemblyDescription viewDetail
)
bool TryInitialize (
ScopeNode^ scopeNode,
AssemblyDescription^ resourceAssembly,
ViewAssemblyDescription^ viewDetail
)
boolean TryInitialize (
ScopeNode scopeNode,
AssemblyDescription resourceAssembly,
ViewAssemblyDescription viewDetail
)
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
Reference
IConsoleView Interface
IConsoleView Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
AssemblyDescription
ViewAssemblyDescription