Establishes connection to metaspace using the metaspace name and MemberDef specified.
Namespace: Com.Tibco.As.SpaceAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.4.0.001)
Syntax
C# |
---|
public static Metaspace ConnectMetaspace( string name, MemberDef memberDef ) |
Visual Basic |
---|
Public Shared Function ConnectMetaspace ( name As String, memberDef As MemberDef ) As Metaspace |
Visual C++ |
---|
public: static Metaspace^ ConnectMetaspace( String^ name, MemberDef^ memberDef ) |
F# |
---|
static member ConnectMetaspace : name : string * memberDef : MemberDef -> Metaspace |
Parameters
- name
- Type: System..::..String
Name of the metaspace to connect
- memberDef
- Type: Com.Tibco.As.Space..::..MemberDef
Connection definition to use
Return Value
Type: MetaspaceMetaspace object if connection is established
Remarks
A process can not connect twice to the same metaspace. If a handle to an already connected metaspace is needed
use the GetMetaspace(String) function to get it.