次の方法で共有


SPResourceTrackingRuleCollection.Get method (SPResourceKind)

Gets a new SPResourceTrackingRule object from the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Get ( _
    kind As SPResourceKind _
) As SPResourceTrackingRule
'Usage
Dim instance As SPResourceTrackingRuleCollection
Dim kind As SPResourceKind
Dim returnValue As SPResourceTrackingRule

returnValue = instance.Get(kind)
public SPResourceTrackingRule Get(
    SPResourceKind kind
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPResourceTrackingRule

Remarks

Throws an KeyNotFoundException if an SPResourceTrackingRule object with the given kind does not exist.

See also

Reference

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Get overload

Microsoft.SharePoint.Administration namespace