TeamFoundationDataTierComponent.CreateDatabase Method
Creates a database with specified name and collation. If collation is null or empty string, then the database is created with server's default collation.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub CreateDatabase ( _
databaseName As String, _
collation As String _
)
public void CreateDatabase(
string databaseName,
string collation
)
public:
void CreateDatabase(
String^ databaseName,
String^ collation
)
member CreateDatabase :
databaseName:string *
collation:string -> unit
public function CreateDatabase(
databaseName : String,
collation : String
)
Parameters
databaseName
Type: System.StringThe name of the database to create.
- collation
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.