DatabasePartitionComponent.TryCreateComponent Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function TryCreateComponent ( _
connectionString As String, _
<OutAttribute> ByRef component As DatabasePartitionComponent _
) As Boolean
public static bool TryCreateComponent(
string connectionString,
out DatabasePartitionComponent component
)
public:
static bool TryCreateComponent(
String^ connectionString,
[OutAttribute] DatabasePartitionComponent^% component
)
static member TryCreateComponent :
connectionString:string *
component:DatabasePartitionComponent byref -> bool
public static function TryCreateComponent(
connectionString : String,
component : DatabasePartitionComponent
) : boolean
Parameters
- connectionString
Type: System.String
- component
Type: Microsoft.TeamFoundation.Framework.Server.DatabasePartitionComponent%
Return Value
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.