SpaceDefCreate Method (String, Int32, FieldDef) |
Takes space name, replication count and list of field defs and returns a new SpaceDef instance.
Namespace: Com.Tibco.As.SpaceAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.1.5.12)
Syntaxpublic static SpaceDef Create(
string spaceName,
int replication,
params FieldDef[] fieldDefs
)
Public Shared Function Create (
spaceName As String,
replication As Integer,
ParamArray fieldDefs As FieldDef()
) As SpaceDef
public:
static SpaceDef^ Create(
String^ spaceName,
int replication,
... array<FieldDef^>^ fieldDefs
)
static member Create :
spaceName : string *
replication : int *
fieldDefs : FieldDef[] -> SpaceDef
Parameters
- spaceName
- Type: SystemString
Space name - replication
- Type: SystemInt32
Degree of replication - fieldDefs
- Type: Com.Tibco.As.SpaceFieldDef
Array List of field defs
Return Value
Type:
SpaceDefThe new instance of SpaceDef
See Also