Server.AttachDatabase 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| AttachDatabase(String, StringCollection) |
데이터베이스 연결 |
| AttachDatabase(String, StringCollection, AttachOptions) |
데이터베이스 연결 |
| AttachDatabase(String, StringCollection, String) |
데이터베이스 연결 |
| AttachDatabase(String, StringCollection, String, AttachOptions) |
데이터베이스 연결 |
AttachDatabase(String, StringCollection)
데이터베이스 연결
public void AttachDatabase(string name, System.Collections.Specialized.StringCollection files);
member this.AttachDatabase : string * System.Collections.Specialized.StringCollection -> unit
Public Sub AttachDatabase (name As String, files As StringCollection)
매개 변수
- name
- String
데이터베이스 이름
- files
- StringCollection
파일 목록
적용 대상
AttachDatabase(String, StringCollection, AttachOptions)
데이터베이스 연결
public void AttachDatabase(string name, System.Collections.Specialized.StringCollection files, Microsoft.SqlServer.Management.Smo.AttachOptions attachOptions);
member this.AttachDatabase : string * System.Collections.Specialized.StringCollection * Microsoft.SqlServer.Management.Smo.AttachOptions -> unit
Public Sub AttachDatabase (name As String, files As StringCollection, attachOptions As AttachOptions)
매개 변수
- name
- String
데이터베이스 이름
- files
- StringCollection
파일 목록
- attachOptions
- AttachOptions
데이터베이스를 연결할 때 사용되는 옵션
적용 대상
AttachDatabase(String, StringCollection, String)
데이터베이스 연결
public void AttachDatabase(string name, System.Collections.Specialized.StringCollection files, string owner);
member this.AttachDatabase : string * System.Collections.Specialized.StringCollection * string -> unit
Public Sub AttachDatabase (name As String, files As StringCollection, owner As String)
매개 변수
- name
- String
데이터베이스 이름
- files
- StringCollection
첨부할 파일 목록
- owner
- String
새 소유자 이름
적용 대상
AttachDatabase(String, StringCollection, String, AttachOptions)
데이터베이스 연결
public void AttachDatabase(string name, System.Collections.Specialized.StringCollection files, string owner, Microsoft.SqlServer.Management.Smo.AttachOptions attachOptions);
member this.AttachDatabase : string * System.Collections.Specialized.StringCollection * string * Microsoft.SqlServer.Management.Smo.AttachOptions -> unit
Public Sub AttachDatabase (name As String, files As StringCollection, owner As String, attachOptions As AttachOptions)
매개 변수
- name
- String
데이터베이스 이름
- files
- StringCollection
파일 목록
- owner
- String
새 소유자 이름
- attachOptions
- AttachOptions
데이터베이스를 연결할 때 사용되는 옵션