共用方式為


SPProcessIdentity Constructor (String, SPPersistedObject)

Initializes a new instance of the SPProcessIdentity class based on the specified name and persisted object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

Dim instance As New SPProcessIdentity(name, persistedObject)
public SPProcessIdentity(
    string name,
    SPPersistedObject persistedObject
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the new process identity.

See Also

Reference

SPProcessIdentity Class

SPProcessIdentity Members

SPProcessIdentity Overload

Microsoft.SharePoint.Administration Namespace