다음을 통해 공유


Application.BaseDirectoryPath Property

Gets or sets the base directory path for the application definition file (ADF).

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Property BaseDirectoryPath As String
public string BaseDirectoryPath { get; set; }
public:
property String^ BaseDirectoryPath {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_BaseDirectoryPath ()

/** @property */
public void set_BaseDirectoryPath (String value)
public function get BaseDirectoryPath () : String

public function set BaseDirectoryPath (value : String)

속성 값

A String, between 1 and 260 characters in length, specifying the path of the application's root folder.

주의

If you use the Application(Instance,String) constructor, the default value is an empty string. If you use the default constructor, you must either provide a path or set the value to an empty string.

If you do not specify a path, you must use the fully-qualified file name for the application definition file (ADF).

The following example shows how to set the base directory path for an application:

myApplication.BaseDirectoryPath = @"C:\NS\Full";
myApplication.BaseDirectoryPath = "C:\NS\Full"

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

BaseDirectoryPath Element (ICF)