MetaspaceConnect Method (String, MemberDef) |
Establishes a connection to a Metaspace
Namespace: Com.Tibco.As.SpaceAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.1.5.12)
Syntaxpublic static Metaspace Connect(
string name,
MemberDef memberDef
)
Public Shared Function Connect (
name As String,
memberDef As MemberDef
) As Metaspace
public:
static Metaspace^ Connect(
String^ name,
MemberDef^ memberDef
)
static member Connect :
name : string *
memberDef : MemberDef -> Metaspace
Parameters
- name
- Type: SystemString
A String specifying the Metaspace name - memberDef
- Type: Com.Tibco.As.SpaceMemberDef
Connection definition to use
Return Value
Type:
MetaspaceThe 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