Share via


SPDatabaseServiceInstance.ChangeSQLAuthUserCredentialForDBs method

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub ChangeSQLAuthUserCredentialForDBs ( _
    username As String, _
    securepassword As SecureString, _
    Role As String _
)
'Usage
Dim instance As SPDatabaseServiceInstance
Dim username As String
Dim securepassword As SecureString
Dim Role As String

instance.ChangeSQLAuthUserCredentialForDBs(username, _
    securepassword, Role)
public void ChangeSQLAuthUserCredentialForDBs(
    string username,
    SecureString securepassword,
    string Role
)

Parameters

See also

Reference

SPDatabaseServiceInstance class

SPDatabaseServiceInstance members

Microsoft.SharePoint.Administration namespace