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
sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe server to set these exclusions for.
exclusions
Type: array<System.String[]The new exclusions.
.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.