Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Queries database partion by host id.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryPartition ( _
hostId As Guid _
) As DatabasePartition
public DatabasePartition QueryPartition(
Guid hostId
)
public:
DatabasePartition^ QueryPartition(
Guid hostId
)
member QueryPartition :
hostId:Guid -> DatabasePartition
public function QueryPartition(
hostId : Guid
) : DatabasePartition
Parameters
hostId
Type: System.GuidId of the service host
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 for the specified host.
.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.