次の方法で共有


Content.SetDefaultGatheringAccount メソッド (Microsoft.Office.Server.Search.Administration)

既定のクローラ アカウントとパスワードを設定します。

名前空間: Microsoft.Office.Server.Search.Administration
アセンブリ: Microsoft.Office.Server.Search (microsoft.office.server.search.dll 内)

構文

'宣言
Public Sub SetDefaultGatheringAccount ( _
    account As String, _
    password As SecureString _
)
'使用
Dim instance As Content
Dim account As String
Dim password As SecureString

instance.SetDefaultGatheringAccount(account, password)
public void SetDefaultGatheringAccount (
    string account,
    SecureString password
)

パラメータ

  • account
    クローラ アカウントの名前を含む文字列。
  • password
    クローラ アカウントのパスワードを含む文字列。

関連項目

参照

Content クラス
Content メンバ
Microsoft.Office.Server.Search.Administration 名前空間

その他のリソース

クロール ルールとフィルタの種類を定義する
エンタープライズ検索管理オブジェクト モデルを使うにあたって
コンテンツ ソースの概要
コンテンツを管理する
エンタープライズ検索セキュリティ モデル