DatabasePartitionComponent.QueryPartition Method (Int32)
Queries database partion by partition id
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryPartition ( _
partitionId As Integer _
) As DatabasePartition
public DatabasePartition QueryPartition(
int partitionId
)
public:
DatabasePartition^ QueryPartition(
int partitionId
)
member QueryPartition :
partitionId:int -> DatabasePartition
public function QueryPartition(
partitionId : int
) : DatabasePartition
Parameters
partitionId
Type: System.Int32Id of the database partition
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.DatabasePartition
DatabasePartion object that contains information about the partition, or null if the database does not have partition with the specified id.
.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.