Share via


StructuredRepositorySystemUtility<T>.SetCredentials method

Sets the user name and password for the proxy.

Namespace:  Microsoft.Office.Server.Search.Connector.BDC
Assembly:  Microsoft.Office.Server.Search.Connector (in Microsoft.Office.Server.Search.Connector.dll)

Syntax

'Declaration
Protected MustOverride Sub SetCredentials ( _
    proxy As T, _
    userName As String, _
    passWord As String _
)
'Usage
Dim proxy As T
Dim userName As String
Dim passWord As String

Me.SetCredentials(proxy, userName, _
    passWord)
protected abstract void SetCredentials(
    T proxy,
    string userName,
    string passWord
)

Parameters

  • proxy
    Type: T

    The proxy to set the credentials for.

  • userName
    Type: System.String

    The user name to set on the proxy.

See also

Reference

StructuredRepositorySystemUtility<T> class

StructuredRepositorySystemUtility<T> members

Microsoft.Office.Server.Search.Connector.BDC namespace