Udostępnij za pośrednictwem


Metoda SqlAssembly.Create (array<String[])

Tworzy wirtualny plik dziennika na wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Sub Create ( _
    assemblyLocalPaths As String() _
)
'Użycie
Dim instance As SqlAssembly
Dim assemblyLocalPaths As String()

instance.Create(assemblyLocalPaths)
public void Create(
    string[] assemblyLocalPaths
)
public:
void Create(
    array<String^>^ assemblyLocalPaths
)
member Create : 
        assemblyLocalPaths:string[] -> unit 
public function Create(
    assemblyLocalPaths : String[]
)

Parametry

  • assemblyLocalPaths
    Typ: array<System.String[]
    A String wartość tablicy, która określa ścieżki serwera (które mogą być udziału sieciowego) zestawów pojedynczy moduł, które zawierają manifestów.

Uwagi

Microsoft SQL Server searches in the paths for assemblies the referenced assemblies depend on and that have not yet been installed.SQL Serverdostępów wskazane pliki bezpośrednio i dlatego musi mieć wystarczające prawa dostępu do pomyślnego wykonania tej operacji.

Przykłady

Wywołanie metody