Apache.Cassandra.Cassandra.Client.system_add_keyspace C# (CSharp) Method

system_add_keyspace() public method

adds a keyspace and any column families that are part of it. returns the new schema id.
public system_add_keyspace ( KsDef ks_def ) : string
ks_def KsDef
return string
      public string system_add_keyspace(KsDef ks_def)
      {
        #if !SILVERLIGHT
        send_system_add_keyspace(ks_def);
        return recv_system_add_keyspace();

        #else
        var asyncResult = Begin_system_add_keyspace(null, null, ks_def);
        return End_system_add_keyspace(asyncResult);

        #endif
      }
      #if SILVERLIGHT
Cassandra.Client