VssClientCredentials Constructor (Boolean)
Initializes a new VssClientCredentials instance with default credentials if specified.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
useDefaultCredentials As Boolean _
)
public VssClientCredentials(
bool useDefaultCredentials
)
public:
VssClientCredentials(
bool useDefaultCredentials
)
new :
useDefaultCredentials:bool -> VssClientCredentials
public function VssClientCredentials(
useDefaultCredentials : boolean
)
Parameters
useDefaultCredentials
Type: System.BooleanTrue to use default windows credentials; otherwise, false.
.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.