Share via


SPManagedAccount constructor (String, SPPersistedObject)

Initializes a new instance of the SPManagedAccount class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    parent As SPPersistedObject _
)
'Usage
Dim name As String
Dim parent As SPPersistedObject

Dim instance As New SPManagedAccount(name, parent)
public SPManagedAccount(
    string name,
    SPPersistedObject parent
)

Parameters

See also

Reference

SPManagedAccount class

SPManagedAccount members

SPManagedAccount overload

Microsoft.SharePoint.Administration namespace