TeamFoundationDatabaseManagementService.TryGetDatabaseProperties Method
Get the database properties from a connection string.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function TryGetDatabaseProperties ( _
requestContext As TeamFoundationRequestContext, _
connectionString As String, _
<OutAttribute> ByRef databaseProperties As TeamFoundationDatabaseProperties _
) As Boolean
public bool TryGetDatabaseProperties(
TeamFoundationRequestContext requestContext,
string connectionString,
out TeamFoundationDatabaseProperties databaseProperties
)
public:
bool TryGetDatabaseProperties(
TeamFoundationRequestContext^ requestContext,
String^ connectionString,
[OutAttribute] TeamFoundationDatabaseProperties^% databaseProperties
)
member TryGetDatabaseProperties :
requestContext:TeamFoundationRequestContext *
connectionString:string *
databaseProperties:TeamFoundationDatabaseProperties byref -> bool
public function TryGetDatabaseProperties(
requestContext : TeamFoundationRequestContext,
connectionString : String,
databaseProperties : TeamFoundationDatabaseProperties
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- connectionString
Type: System.String
- databaseProperties
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseProperties%
Return Value
Type: System.Boolean
Returns 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.