共用方式為


SPEncryptedString constructor (String, SPPersistedObject, Boolean)

初始化SPEncryptedString類別的新執行個體,並選擇性地將會產生執行個體的唯一名稱。

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

Syntax

'宣告
Public Sub New ( _
    name As String, _
    owner As SPPersistedObject, _
    farmIsParent As Boolean _
)
'用途
Dim name As String
Dim owner As SPPersistedObject
Dim farmIsParent As Boolean

Dim instance As New SPEncryptedString(name, owner, _
    farmIsParent)
public SPEncryptedString(
    string name,
    SPPersistedObject owner,
    bool farmIsParent
)

參數

  • name
    Type: System.String

    字串,其中含有加密字串名稱。如果這個值是 null,該實例產生的唯一名稱。

  • farmIsParent
    Type: System.Boolean

    若要設定為SPFarm物件的父代基底SPPersistedObjecttrue若要將它設為"owner"參數false 。

備註

此建構函式farmIsParent參數可讓您變更父結構。此參數的值是專屬於您實作。

請參閱

參照

SPEncryptedString class

SPEncryptedString members

SPEncryptedString overload

Microsoft.SharePoint.Administration namespace