Scalien.SDBP_NodeParams.AddNode C# (CSharp) Méthode

AddNode() public méthode

public AddNode ( string node ) : void
node string
Résultat void
        public unsafe void AddNode(string node)
        {
            scaliendb_clientPINVOKE.SDBP_NodeParams_AddNode(swigCPtr, node);
            if (scaliendb_clientPINVOKE.SWIGPendingException.Pending) throw scaliendb_clientPINVOKE.SWIGPendingException.Retrieve();
        }

Usage Example

Exemple #1
0
        public Client(string[] nodes)
        {
            cptr = scaliendb_client.SDBP_Create();
            result = null;

            SDBP_NodeParams nodeParams = new SDBP_NodeParams(nodes.Length);
            for (int i = 0; i < nodes.Length; i++)
                nodeParams.AddNode(nodes[i]);

            int status = scaliendb_client.SDBP_Init(cptr, nodeParams);
            nodeParams.Close();
        }
All Usage Examples Of Scalien.SDBP_NodeParams::AddNode