共用方式為


SPResourceTrackingRuleCollection.Get method (SPResourceKind, String)

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

Syntax

'宣告
Public Function Get ( _
    kind As SPResourceKind, _
    appliesTo As String _
) As SPResourceTrackingRule
'用途
Dim instance As SPResourceTrackingRuleCollection
Dim kind As SPResourceKind
Dim appliesTo As String
Dim returnValue As SPResourceTrackingRule

returnValue = instance.Get(kind, appliesTo)
public SPResourceTrackingRule Get(
    SPResourceKind kind,
    string appliesTo
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPResourceTrackingRule

請參閱

參照

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Get overload

Microsoft.SharePoint.Administration namespace