共用方式為


Workstation.SetLocalItemExclusions Method

Overwrites the list of local item exclusions with the list passed in.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub SetLocalItemExclusions ( _
    sourceControl As VersionControlServer, _
    exclusions As String() _
)
public void SetLocalItemExclusions(
    VersionControlServer sourceControl,
    string[] exclusions
)
public:
void SetLocalItemExclusions(
    VersionControlServer^ sourceControl, 
    array<String^>^ exclusions
)
member SetLocalItemExclusions : 
        sourceControl:VersionControlServer * 
        exclusions:string[] -> unit
public function SetLocalItemExclusions(
    sourceControl : VersionControlServer, 
    exclusions : String[]
)

Parameters

.NET Framework Security

See Also

Reference

Workstation Class

Microsoft.TeamFoundation.VersionControl.Client Namespace