VssCredentials Implicit Conversion (WindowsCredential to VssCredentials)
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
credential As WindowsCredential _
) As VssCredentials
public static implicit operator VssCredentials (
WindowsCredential credential
)
static implicit operator VssCredentials^ (
WindowsCredential^ credential
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- credential
Type: Microsoft.VisualStudio.Services.Common.WindowsCredential
Return Value
Type: Microsoft.VisualStudio.Services.Common.VssCredentials
.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.