MetaspaceConnect Method (String, String) |
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,
string remoteDiscoveryUrl
)
Public Shared Function Connect (
name As String,
remoteDiscoveryUrl As String
) As Metaspace
public:
static Metaspace^ Connect(
String^ name,
String^ remoteDiscoveryUrl
)
static member Connect :
name : string *
remoteDiscoveryUrl : string -> Metaspace
Parameters
- name
- Type: SystemString
A String specifying the Metaspace name - remoteDiscoveryUrl
- Type: SystemString
A String in the format tcp://ipaddress:port
Return Value
Type:
MetaspaceThe connected Metaspace
Remarks
ASException is thrown if
connect fails
connect is called on a metaspace name that is already connected.
If a handle to an already connected metaspace is needed,
use the
GetMetaspace(String) function to get it.
See Also