Establishes a connection to a Metaspace

Namespace: Com.Tibco.As.Space
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.2.0.015)

Syntax

C#
public static Metaspace Connect(
	string name,
	MemberDef memberDef
)
Visual Basic
Public Shared Function Connect ( 
	name As String,
	memberDef As MemberDef
) As Metaspace
Visual C++
public:
static Metaspace^ Connect(
	String^ name, 
	MemberDef^ memberDef
)
F#
static member Connect : 
        name : string * 
        memberDef : MemberDef -> Metaspace 

Parameters

name
Type: System..::..String
A String specifying the Metaspace name
memberDef
Type: Com.Tibco.As.Space..::..MemberDef
Connection definition to use

Return Value

Type: Metaspace
The connected Metaspace

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.

See Also