Partager via


Méthode Package.Serialize (String)

Serializes the package to the file system.

Espace de noms :  Microsoft.MasterDataServices.Deployment
Assembly :  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Syntaxe

'Déclaration
Public Sub Serialize ( _
    packageFileName As String _
)
'Utilisation
Dim instance As Package 
Dim packageFileName As String

instance.Serialize(packageFileName)
public void Serialize(
    string packageFileName
)
public:
void Serialize(
    String^ packageFileName
)
member Serialize : 
        packageFileName:string -> unit
public function Serialize(
    packageFileName : String
)

Paramètres

  • packageFileName
    Type : System.String
    The full path and file name specifying where to save the package file.

Notes

Serialize throws ArgumentNullException if packageFileName is nullune référence Null (Nothing dans Visual Basic) or empty.

Serialize throws DeploymentException if validation of the package fails.

Voir aussi

Référence

Package Classe

Surcharge Serialize

Espace de noms Microsoft.MasterDataServices.Deployment