Compartilhar via


OLEDBConnection.ServerCredentialsMethod Property

Returns or sets the type of credentials that should be used for server authentication. Read/write XlCredentialsMethod.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ServerCredentialsMethod As XlCredentialsMethod
    Get
    Set
'Usage
Dim instance As OLEDBConnection
Dim value As XlCredentialsMethod

value = instance.ServerCredentialsMethod

instance.ServerCredentialsMethod = value
XlCredentialsMethod ServerCredentialsMethod { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlCredentialsMethod
XlCredentialsMethod

See Also

Reference

OLEDBConnection Interface

OLEDBConnection Members

Microsoft.Office.Interop.Excel Namespace