Database Constructor (String, String, String, String, Boolean)
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
databaseName As String, _
serverName As String, _
connectionString As String, _
excludeFromBackup As Boolean _
)
public Database(
string name,
string databaseName,
string serverName,
string connectionString,
bool excludeFromBackup
)
public:
Database(
String^ name,
String^ databaseName,
String^ serverName,
String^ connectionString,
bool excludeFromBackup
)
new :
name:string *
databaseName:string *
serverName:string *
connectionString:string *
excludeFromBackup:bool -> Database
public function Database(
name : String,
databaseName : String,
serverName : String,
connectionString : String,
excludeFromBackup : boolean
)
Parameters
- name
Type: System.String
- databaseName
Type: System.String
- serverName
Type: System.String
- connectionString
Type: System.String
- excludeFromBackup
Type: System.Boolean
.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.